package com.weishu.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author cc
 * @email cc@wish.com
 * @date 2018-02-07 15:13:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BusinessEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//商户ID
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	//商户名称
	private String name;
	//法人
	private String corporation;
	//省
	private Integer province;
	//市
	private Integer city;
	//区
	private Integer county;
	//省
	private String provinceName;
	//市
	private String cityName;
	//区
	private String countyName;
	//地址
	private String address;
	//类型
	private Integer type;
	//类型中文
	private String typeName;
	//状态
	private Integer status;
	//状态中文
	private String statusName;
	//管理员
	private Integer userId;
	private String userName;
	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createTime;
	private String createTimes;
	//商户联系人
	private String contactMember;
	//统一信用代码证
	private String zheng;
	//营业执照
	private String url;
	//头像
	private String headPicture;
	//
	private Integer reserve1;
	//
	private Integer reserve2;
	//
	private String reserve3;
	//
	private String reserve4;
	//
	private String reserve5;
	private int apartmentOperatorType;
	//身份证号码
	private String certNum;
	
	private String brandName;		//品牌名
	private String apartmentUrl;	//公寓网址
	private String serviceHotline;	//客服热线


	/**
	 * 身份证正面
	 */
	private String certPicture;

	/**
	 * 身份证反面
	 */
	private String certPicture2;

	/**
	 * 手持身份证
	 */
	private String certPicture3;
}
